<div class="tab-pane fade in active" id="userpane">
    <form class="form-horizontal" role="form" method="post" action="<?php echo page_url('tai-khoan/cap-nhat'); ?>">
        <div class="form-group">
    		<label for="username" class="col-md-2 control-label"><span class="text-danger">*</span> Tên đăng nhập</label>
            <div class="col-md-4">
                <input name="info[username]" type="text" class="form-control" id="username" value="<?php echo $user->getUsername(); ?>" />
            </div>
        </div>
    	<div class="form-group">
    		<label for="password" class="col-md-2 control-label"><span class="text-danger">*</span> Mật khẩu</label>
    		<div class="col-md-4">
                <input name="info[password]" type="password" class="form-control" id="password" />
            </div>
    	</div>
    	<div class="form-group">
    		<label for="email" class="col-md-2 control-label"><span class="text-danger">*</span> Email</label>
    		<div class="col-md-4">
                <input name="info[email]" type="text" class="form-control" id="email" value="<?php echo $user->getEmail(); ?>" />
            </div>
    	</div>
    	<div class="form-group">
    		<label for="phone" class="col-md-2 control-label"><span class="text-danger">*</span> Điện thoại</label>
    		<div class="col-md-4">
                <input name="info[phone]" type="text" class="form-control" id="phone" value="<?php echo $user->getPhone(); ?>" />
            </div>
        </div>
    	<div class="form-group">
            <label for="info-homephone" class="col-md-2 control-label">Số điện thoại nhà</label>
            <div class="col-md-4">
                <input name="info[home_phone]" type="text" class="form-control" id="info-homephone" value="<?php echo $user->getHomePhone(); ?>" />
            </div>
        </div>
        <div class="form-group">
    		<label for="address" class="col-md-2 control-label"><span class="text-danger">*</span> Địa chỉ</label>
    		<div class="col-md-4">
                <textarea name="info[address]" class="form-control" id="address"><?php echo $user->getAddress(); ?></textarea>
            </div>
        </div>
        <div class="form-group">
            <label for="info-skype" class="col-md-2 control-label">Skype</label>
            <div class="col-md-4">
                <input name="info[skype]" type="text" class="form-control" id="info-skype" value="<?php echo $user->getSkype(); ?>" />
            </div>
        </div>
    	<div class="form-group">
    		<label for="fullname" class="col-md-2 control-label">Họ tên</label>
    		<div class="col-md-4">
                <input name="info[full_name]" type="text" class="form-control" id="fullname" value="<?php echo $user->getFullName(); ?>" />
            </div>
    	</div>
    	<div class="form-group">
    		<label for="birthday" class="col-md-2 control-label">Ngày sinh</label>
    		<div class="col-md-4">
                <input name="info[birthday]" type="text" class="form-control input-date" id="birthday" value="<?php echo $user->getBirthday(); ?>" />
    	   </div>
        </div>
    	<div class="form-group">
    		<label for="gender" class="col-md-2 control-label">Giới tính</label>
    		<div class="col-md-4">
                <div class="btn-group" data-toggle="buttons">
        			<label class="btn btn-primary <?php echo $user->getGender()==1?'active':''; ?>">
        				<input type="radio" name="info[gender]" id="option1" value="1" <?php echo $user->getGender()==1?'checked="checked"':''; ?> /><i class="fa fa-male"></i> Nam
        			</label>
        			<label class="btn btn-primary <?php echo $user->getGender()==0?'active':''; ?>">
        				<input type="radio" name="info[gender]" id="option2" value="0" <?php echo $user->getGender()==0?'checked="checked"':''; ?> /><i class="fa fa-female"></i> Nữ
        			</label>
        			<label class="btn btn-primary <?php echo $user->getGender()==2?'active':''; ?>">
        				<input type="radio" name="info[gender]" id="option3" value="2" <?php echo $user->getGender()==2?'checked="checked"':''; ?> /><i class="fa fa-exclamation"></i> Không tiết lộ
        			</label>
        		</div>
            </div>
    	</div>
        <div class="form-group">
            <div class="col-md-4 col-md-offset-2">
                <button type="button" id="user-update-btn" class="btn btn-success">
                    <i class="glyphicon glyphicon-ok-sign"></i>&nbsp;Lưu&nbsp;
                </button>
            </div>
        </div>
    </form>
</div>